/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class MallTuanCode {
    /**
     * mall_tuan_code.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * mall_tuan_code.mall_id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long mallId;

    /**
     * mall_tuan_code.user_id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long userId;

    /**
     * mall_tuan_code.code
     * 团购码
     * VARCHAR(20)
     *
     * @mbggenerated
     */
    private String code;

    /**
     * mall_tuan_code.status
     * 0:未使用 1：已使用 -1：失效
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * mall_tuan_code.trade_id
     * 订单id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long tradeId;

    /**
     * mall_tuan_code.out_trade_id
     * 外部订单id
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String outTradeId;

    /**
     * mall_tuan_code.type
     * 类型
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * mall_tuan_code.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * mall_tuan_code.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * mall_tuan_code.attribute
     * 
     * VARCHAR(5000)
     *
     * @mbggenerated
     */
    private String attribute;

    /**
     * mall_tuan_code.copies
     * 份数
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer copies;

    /**
     * mall_tuan_code.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * mall_tuan_code.province_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer provinceId;

    /**
     * mall_tuan_code.city_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer cityId;

    /**
     * mall_tuan_code.area_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer areaId;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public Long getMallId() {
        return mallId;
    }

    /* @mbggenerated */
    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    /* @mbggenerated */
    public Long getUserId() {
        return userId;
    }

    /* @mbggenerated */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /* @mbggenerated */
    public String getCode() {
        return code;
    }

    /* @mbggenerated */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Long getTradeId() {
        return tradeId;
    }

    /* @mbggenerated */
    public void setTradeId(Long tradeId) {
        this.tradeId = tradeId;
    }

    /* @mbggenerated */
    public String getOutTradeId() {
        return outTradeId;
    }

    /* @mbggenerated */
    public void setOutTradeId(String outTradeId) {
        this.outTradeId = outTradeId == null ? null : outTradeId.trim();
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    /* @mbggenerated */
    public Integer getCopies() {
        return copies;
    }

    /* @mbggenerated */
    public void setCopies(Integer copies) {
        this.copies = copies;
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public Integer getProvinceId() {
        return provinceId;
    }

    /* @mbggenerated */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /* @mbggenerated */
    public Integer getCityId() {
        return cityId;
    }

    /* @mbggenerated */
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /* @mbggenerated */
    public Integer getAreaId() {
        return areaId;
    }

    /* @mbggenerated */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
}